package top.wardyan.wbaseswt.conf.model;

import top.wardyan.base.common.annotation.Table;
import top.wardyan.base.db.model.base.BaseDetailModel;
import top.wardyan.wbaseswt.conf.config.AppConfig;

@Table(tableName="SYSTABLECOL",primaryKey="mID,dID",configName=AppConfig.CONFIGNAME)
public class SysTableCol extends BaseDetailModel<SysTableCol> {

	// private static final cn.hutool.log.Log log = cn.hutool.log.Log.get();
	
	// mID,dID,sIndex已经在父类里了
	public Integer getSID() {
		return this.getInt("sID");
	}
	public SysTableCol setSID(Integer sID) {
		this.set("sID", sID);
		return this;
	}

	public Integer getRWindowID() {
		return this.getInt("rWindow_ID");
	}
	public SysTableCol setRWindowID(Integer rWindow_ID) {
		this.set("rWindow_ID", rWindow_ID);
		return this;
	}
	public String getXClassName() {
		return this.getStr("xClassName");
	}
	public SysTableCol setXClassName(String xClassName) {
		this.set("xClassName", xClassName);
		return this;
	}
	public String getXTableName() {
		return this.getStr("xTableName");
	}
	public SysTableCol setXTableName(String xTableName) {
		this.set("xTableName", xTableName);
		return this;
	}

	
	public String getXField() {
		return this.getStr("xField");
	}
	public SysTableCol setXField(String xField) {
		this.set("xField", xField);
		return this;
	}
	public String getXTitle() {
		return this.getStr("xTitle");
	}
	public SysTableCol setXTitle(String xTitle) {
		this.set("xTitle", xTitle);
		return this;
	}
	public Integer getXType() {
		return this.getInt("xType");
	}
	public SysTableCol setXType(Integer xType) {
		this.set("xType", xType);
		return this;
	}
	public Integer getXAlign() {
		return this.getInt("xAlign");
	}
	public SysTableCol setXAlign(Integer xAlign) {
		this.set("xAlign", xAlign);
		return this;
	}
	public Integer getXFormatType() {
		return this.getInt("xFormatType");
	}
	public SysTableCol setXFormatType(Integer xFormatType) {
		this.set("xFormatType", xFormatType);
		return this;
	}
	public String getXFormat() {
		return this.getStr("xFormat");
	}
	public SysTableCol setXFormat(String xFormat) {
		this.set("xFormat", xFormat);
		return this;
	}
	public Integer getRDicID() {
		return this.getInt("rDic_ID");
	}
	public SysTableCol setRDicID(Integer rDic_ID) {
		this.set("rDic_ID", rDic_ID);
		return this;
	}
	public Integer getXWidth() {
		return this.getInt("xWidth");
	}
	public SysTableCol setXWidth(Integer xWidth) {
		this.set("xWidth", xWidth);
		return this;
	}
	
	public Boolean getXIsShow() {
		return this.getBoolean("xIsShow");
	}
	public SysTableCol setXIsShow(Boolean xIsShow) {
		this.set("xIsShow", xIsShow);
		return this;
	}
	
	
	
	
	
	
}
